<%@ page language="java" contentType="text/html; charset=UTF-8"
	isELIgnored="false" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>
<div class="wrap">
	<div class="nav">
		<div class="return">
			<a href='<yjd:url url="/sysparam/list"/>'>返回上一级</a>
		</div>
	</div>
	<form method="post" action='<yjd:url url="/sysparam/save"/>' class="J_ajaxForm" autocomplete="off">
		<input type="hidden" name="id_param" value="${model.id_param }">
		<div class="h_a">${model.id_param!=null?"编辑":"添加" }系统参数</div>

		<div class="table_full">
			<table width="100%">
				<tr>
					<th>参数编码（全部大写）：</th>
					<td><input name="param_key" type="text" class="input length_6"
						value="${model.param_key }"></td>
					<td><div class="fun_tips"></div></td>
				</tr>
				<tr>
					<th>参数名称：</th>
					<td><input name="param_name" type="text" class="input length_6"
						value="${model.param_name }"></td>
					<td><div class="fun_tips"></div></td>
				</tr>
				<tr>
					<th>参数值：</th>
					<td><input name="param_value" type="text" class="input length_6"
						value='${model.param_value }'></td>
					<td><div class="fun_tips"></div></td>
				</tr>
				<tr>
					<th width="100">区间类型：</th>
					<td><select name="value_type" class="length_6">
							<option value="0">请选择</option>
							<c:forEach items="${reginTypeList }" var="item">
							<option ${item.value==model.value_type?"selected='selected'":"" } value="${item.value }">${item.description }</option>
							</c:forEach>
					</select></td>
					<td><div class="fun_tips"></div></td>
				</tr>
				<tr>
					<th>区间最小值：</th>
					<td><input name="min_value" type="text" class="input length_6"
						value="${model.min_value }"></td>
					<td><div class="fun_tips"></div></td>
				</tr>
				<tr>
					<th>区间最大值：</th>
					<td><input name="max_value" type="text" class="input length_6"
						value="${model.max_value }"></td>
					<td><div class="fun_tips"></div></td>
				</tr>
				<tr>
					<th>说明:</th>
					<td>
						<textarea class="length_8" name="remark">${model.remark }</textarea>
					</td>
				</tr>
			</table>
		</div>


		<div class="btn_wrap">
			<div class="btn_wrap_pd">
				<button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">提交</button>
			</div>
		</div>
	</form>
	<!-- end -->
</div>
